<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Tags extends MY_Controller {
	function __construct(){
		parent::__construct();
	}
	
	public function index(){
		$tagurl = $this->uri->segment(2);
		if(!$tagurl){show_404();}
		$tags = $this->Data_model->getSingle(array('lang'=>$this->Cache_model->currentLang,'status'=>1,'url'=>$tagurl),'tags');
		//if(!$tags){show_404();}
		$this->seo();
		$res = array(
				'tags'=>$tags
		);
		$this->view('tags',$res);
	}

}